//1、导入vue
import Vue from 'vue'
//2、导入根组件
import App from './App'  //  ./表示当前路径

//引入store
import store from './store/index.js'

//3、设置不提示
Vue.config.productionTip = false


new Vue({
    render:h => h(App), 
    store:store,
    beforeCreate(){
        Vue.prototype.$bus=this
    }
}).$mount('#app')